package com.lyr.lock;

public class Test_Lock {

        public static void main(String[] args) {
            Bank bk=new Bank();
            Client c1=new Client("张三",38,bk);
            Client c2=new Client("李四",16,bk);
            Client c3=new Client("王五",27,bk);
            Client2 c4=new Client2("马六",bk);
            Client2 c5=new Client2("王七",bk);

            c1.start();
            c2.start();
            c3.start();

            c4.start();
            c5.start();
        }

}
